﻿using System.Net;

namespace chromium.GAE
{
    public class DnsItem
    {
        private readonly IPAddress address;
        private readonly bool https;
        private long delay = -1;

        public DnsItem(IPAddress address, bool https)
        {
            this.address = address;
            this.https = https;
        }

        public IPAddress Address
        {
            get { return address; }
        }

        public bool Https
        {
            get { return https; }
        }

        public long Delay
        {
            get { return delay; }
            set { delay = value; }
        }
    }
}
